<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 李邦琦 <1536549251@qq.com>
// +----------------------------------------------------------------------

namespace app\moblie\controller;
use think\Controller;

class Moblie extends Controller {
	public function ajaxReturn($data, $info="")
	{
		if ($data) {
			$return['status'] = 1;
			$return['info'] = $info;
			$return['data'] = $data;
		} else {
			$return['status'] = 0;
			$return['info'] = $info;
			$return['data'] = $data;
		}
		echo json_encode($return);
	}




}
?>